package Demo1;

public class Cat extends Animal {
    @Override
    void eat() {
        System.out.println("cat is eatting...");
    }

    @Override
    void sleep() {
        System.out.println("cat is sleeping...");
    }
}
